package com.hexu.event.controller;

import com.hexu.event.service.LoginInService;

public class LoginInController {
    private LoginInService loginInService = new LoginInService();

    //判断密码是否匹配
    public Boolean login(String phoneNumber, String password){
        return loginInService.login(phoneNumber,password);
    }

    //判断登录的是谁
    public int flagChoose(){
        return loginInService.flagChoose();
    }

    //保存密码
    public boolean remember(String phoneNumber){
        return loginInService.remember(phoneNumber);
    }

}
